lcGripSet Home

Sets new parameters for a grip. You have to modify grip parameters when application received event LC_EVENT_GRIPMOVE .

 BOOL lcGripSet (
   HANDLE hLcWnd,
   HANDLE hEntity,
   int iGrip,
   double X,
   double Y,
   double Angle,
   double Y0,
   double Y0
 );

Parameters
hLcWnd
  Handle to LiteCAD graphics window.
hEntity
  Handle to the entity that owns the grip.
iGrip
  Index of the grip (within an entity).
X, Y
  New position of the grip.
Angle
  New angle of the grip.
X0, Y0
  Grip basepoint position.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  lcGripClearlcGripAdd